package com.kyl.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.time.LocalDateTime;

/**
 * @author WanJl
 * @version 1.0
 * @title ReservationMapper
 * @description 预约mapper
 * @create 2025/1/15
 */
@Mapper
public interface ReservationMapper {
    /**
     * 更新预约状态
     * 预约状态，0：待报道，1：已完成，2：取消，3：过期
     * @param minDateTime
     * @return
     */
    int updateReservationStatus(LocalDateTime minDateTime);
}
